# ==============================
# M3G-Viewer compile config file.
# ==============================

# =================================
# m3g-viewer srcs
# =================================
file (GLOB M3G_VIEWER_SRCS *.cpp)


# =================================
# m3g-viewer application
# =================================
add_executable (m3g-viewer ${M3G_VIEWER_SRCS})

# =================================
# installer
# =================================
install (TARGETS m3g-viewer  DESTINATION .)

# =================================
# compile flags
# =================================
set (CMAKE_INCLUDE_CURRENT_DIR ON)


include_directories   (${M3G_VIEWER_PRECOMPILED_INCLUDE_DIR})
target_link_libraries (m3g-viewer ${M3G_VIEWER_PRECOMPILED_LIBRARIES})
message (STATUS "M3G_VIEWER_PRECOMPILED_INCLUDE_DIR = ${M3G_VIEWER_PRECOMPILED_INCLUDE_DIR}")
message (STATUS "M3G_VIEWER_PRECOMPILED_LIBRARIES   = ${M3G_VIEWER_PRECOMPILED_LIBRARIES}")




